package net.xxcxcxcx.xc_enhancedmob;

import net.fabricmc.api.ModInitializer;
import net.minecraft.util.Identifier;
import net.xxcxcxcx.xc_enhancedmob.effect.EffectHelper;
import net.xxcxcxcx.xc_enhancedmob.register.*;
import net.xxcxcxcx.xc_enhancedmob.skills.SkillHelper;

public class EnhancedMobMod implements ModInitializer {

    public static final String ModName = "Enhanced Mob Mod";
    public static final String ModId = "xc_enhancedmob";
    public static final Identifier CustomParticle = new Identifier(ModId, "customparticle");//更多粒子效果生成包ID
    public static final Identifier CustomEntityIdentifier = new Identifier(ModId, "customentity");//更多弹射物生成包ID
    public static final Identifier MoreTitleIdentifier = new Identifier(ModId, "moretitle");//更多文本的网络包ID
    public static final Identifier MoreNbtIdentifier = new Identifier(ModId, "morenbt");//更多nbt信息的网络包ID
    public static boolean StartTest = true;//开始测试

    @Override
    public void onInitialize() {
        EventRegister.Register();
        EntityRegister.Register();
        StatusEffectRegister.Register();
        EffectHelper.Init();
        SkillHelper.Init();
        ParticlesRegister.Registry();
        ConfigRegister.Init();//注意config注册应该在所有的注册之后确保config可以正常加载
    }
}
